'use strict';
/**
 * @params {}
 * @bussiness {书库分类栏}
 * @author JC
 * @date 2022-08-15
 * **/
const Service = require('egg').Service;
class Category extends Service {
    async getCategory() {
        try {
            let result = await this.app.mysql.select('novels_classes')
            return result
        } catch (e) {
            return new Error('error')
        }
    }
}
module.exports = Category;